// 查询参数
export interface RolePageParams{
  name:string,
  deptId:string,
  page:number,
  size:number,
  sort:string,
}
// 现在 编辑
export interface RoleAddParams{
  deptId:string|number,
  description:string,
  id?:string,
  name:string,
  state:string,
}
// 修改状态
export interface ChangeState{
  id:string,
  state:number
}
// 修改权限
export interface ChangePermission{
  id:string,
  menuId:string,
  roleId:string,
}
// 列表数据
export interface TableParams{
  id:string,
  name:string,
  deptId:string,
  description:string,
  createTime:string,
  state:string|number,
  userList:Array<UserList>,
}
export interface UserList{
  id:string,
  name:string
}

export interface RoleTable{
    Loading:boolean,
    list:Array<TableParams>,
    height:number,
    total:number,
    DeptList:Array<any>
}